<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
	<meta  charset="utf-8"/>
    <meta name="description" content="U联赛是中国大学生" />
    <meta name="Keyword" content="U联赛，大学生篮球联赛，大学篮球，篮球联赛" />
	<title>球队名册</title>
	<link rel="stylesheet" type="text/css"
	href="../../../admin/site/common/css/global.css" />
    <script type="text/javascript"
	src="../../../admin/site/common/js/jquery-1.11.1.min.js"></script>
	 
</head>
<body>
	<div class="page">
		<div class="toper">
		</div><!--顶部广告banner-->
		<div class="header" id="header">
			<input id="sessionWeixin" type="hidden" th:value="${session.indexWeixin}"/>
			<input id="sessionFans" type="hidden" th:value="${session.indexFans}"/>
			<input id="sessionUser" type="hidden" th:value="${session.user==null?'1':'2'}"/>
			<input id="sessionUserName" type="hidden" th:if="${session.user!=null &amp;&amp; session.user.userName != null}" th:value="${session.user.userName}"/>		
		</div><!--复合导航栏-->
		<div class="bodymain teamachievement">
			<div class="bdsharebuttonbox quicklink" id="fenxiang">
				<!-- 此处分享代码 -->
			</div>
			<div class="tc">
				<div class="full">
					<img class="tc-top" th:src="${team.logUrl}"/>
				</div>
				<div class="selnav">
					<div class="sellabel">球队
					</div>
					
					<div class="selone" id="query_team_id">
						<div class="sel" th:value="${teamId}" th:text="${teamName}" id="teamName"></div>
						<ul class="selul">
							<li th:each="team:${teamList}" th:text="${team.name}" th:value="${team.schoolId}" th:id="${team.id}" class="queryTeamId">
							</li>
						</ul>
					</div>
				</div>
				<div class="tc-left">
					<div class="info-block">
						<div class="info-title">球队简介
						</div>
						<p th:text="${team.introduction}"></p>
					</div>
					<input th:value="${team2}" id="school-id" type="hidden"/>
					<ul class="tabnav tc-up">
						<li class="tab first tabon teamRoster">球队名册</li>
						<li class="tab  teamScore">球队成绩</li>
						<li class="tabblank"></li>
					</ul>
					
				    <input type="hidden" id="team_Id" th:value="${teamId}" />
					<div class="tc-hight" th:text="${seasonName+'赛季排名'}"></div>
					<div class="point-nav">
						<div class="point-one">
							<div class="point-top">场均得分
							</div>
							<div class="point-down">
								<div class="point-dl"><span class="point-weight" th:text="${dataTask2.rownum+'名'}"></span></div>
								<div class="point-dr point-weight"><span th:text="${dataTask.averageScore+'分'}"></span></div>
							</div>
						</div>
						<div class="point-one">
							<div class="point-top">场均篮板
							</div>
							<div class="point-down">
								<div class="point-dl"><span class="point-weight" th:text="${dataTask3.rownum+'名'}"></span></div>
								<div class="point-dr point-weight"><span th:text="${dataTask.averageBackboard+'个'}"></span></div>
							</div>
						</div>
						<div class="point-one">
							<div class="point-top">场均助攻
							</div>
							<div class="point-down">
								<div class="point-dl"><span class="point-weight" th:text="${dataTask4.rownum+'名'}"></span></div>
								<div class="point-dr point-weight"><span th:text="${dataTask.averageAssistsAsts+'个'}"></span></div>
							</div>
						</div>
						<div class="point-one point-last">
							<div class="point-top">场均命中率
							</div>
							<div class="point-down">
								<div class="point-dl"><span class="point-weight" th:text="${dataTask5.rownum+'名'}"></span></div>
								<div class="point-dr point-weight"><span th:text="${dataTask.averageHitRate+'%'}"></span></div>
							</div>
						</div>
					</div>
					<div class="tc-hight" th:text="${team.name+'球员花名册'}"></div>
					<div class="tc-table-block">
						<div class="tc-lefthalf">
							<table class="tablenav img-table bortable">
								<thead>
									<tr>
										<td>号码</td>
										<td>照片</td>
										<td>姓名</td>
										<td width="35">年龄</td>
										<td width="45">身高</td>
										<td width="45">体重</td>
										<td>位置</td>
									</tr>
								</thead>
								<tbody>
									<tr th:if="${indexStat.count%2>0}"  th:each="player,indexStat:${playerList}">
										<td th:text="${player.playerNo}"></td>
										<td><img th:src="${player.url}" /></td>
										<td><a th:href="${'/playerDate/personalDateHistoryList.html?id='+player.id}" th:text="${player.name}"></a></td>
										<td th:text="${player.age}"></td>
										<td th:text="${player.stature+'cm'}"></td>
										<td th:text="${player.weight+'kg'}"></td>
										<td>
										   <span th:if="${player.position==1}">PG</span>
			                               <span th:if="${player.position==2}">SG</span>
			                               <span th:if="${player.position==3}">PF</span>
			                               <span th:if="${player.position==4}">SF</span>
			                               <span th:if="${player.position==5}">C</span>
										</td>
									</tr>
									
								</tbody>
							</table>
						</div>
					   <div class="tc-righthalf">
							<table class="tablenav img-table bortable">
								<thead>
									<tr>
										<td>号码</td>
										<td>照片</td>
										<td>姓名</td>
										<td width="35">年龄</td>
										<td width="45">身高</td>
										<td width="45">体重</td>
										<td>位置</td>
									</tr>
								</thead>
								<tbody>
									<tr th:if="${indexStat.count%2==0}"  th:each="player,indexStat:${playerList}">
										<td th:text="${player.playerNo}"></td>
										<td><img th:src="${player.url}" /></td>
										<td> <a th:href="${'/playerDate/personalDateHistoryList.html?id='+player.id}" th:text="${player.name}"></a> </td>
										<td th:text="${player.age}"></td>
										<td th:text="${player.stature+'cm'}"></td>
										<td th:text="${player.weight+'kg'}"></td>
										<td>
										   <span th:if="${player.position==1}">PG</span>
			                               <span th:if="${player.position==2}">SG</span>
			                               <span th:if="${player.position==3}">PF</span>
			                               <span th:if="${player.position==4}">SF</span>
			                               <span th:if="${player.position==5}">C</span>
										</td>
										
									</tr>
									
								</tbody>
							</table>
						</div>
					</div>
					<div class="member-block tc-member">
						<div class="tc-lefthalf">
							<div class="membernav" th:if="${indexStat.count%2>0}" th:each="player,indexStat:${managerList}">
								<div class="rbtop member-top">
									<div class="rb-left memberb"></div>
									<div class="rb-right">
										<div class="rbtitle membera">球队经理</div>
									</div>
								</div>
								<div class="member-bottom" >
									<img th:src="${player.url}" />
									<table class="member-info">
										<tr>
											<td>姓名：<span th:text="${player.name}"></span></td>
										</tr>
										<tr>
											<td>年龄：<span th:text="${player.age}"></span></td>
										</tr>
										<tr>
											<td>身高：<span th:text="${player.stature}+'CM' "></span></td>
										</tr>
										<tr>
											<td>体重：<span th:text="${player.weight}+'KG' "></span></td>
										</tr>
									</table>
									<div class="member-doc">
										<p>职责说明：</p>
										<p class="member-detail" th:text="${player.description}"></p>
									</div>
								</div>
							</div>
						</div>
						<div class="tc-righthalf">
							
							<div class="membernav" th:if="${indexStat.count%2==0}" th:each="player,indexStat:${managerList}">
								<div class="rbtop member-top">
									<div class="rb-left memberb"></div>
									<div class="rb-right">
										<div class="rbtitle membera">球队经理</div>
									</div>
								</div>
								<div class="member-bottom" >
									<img th:src="${player.url}" />
									<table class="member-info">
										<tr>
											<td>姓名：<span th:text="${player.name}"></span></td>
										</tr>
										<tr>
											<td>年龄：<span th:text="${player.age}"></span></td>
										</tr>
										<tr>
											<td>身高：<span th:text="${player.stature}+'CM' "></span></td>
										</tr>
										<tr>
											<td>体重：<span th:text="${player.weight}+'KG' "></span></td>
										</tr>
									</table>
									<div class="member-doc">
										<p>职责说明：</p>
										<p class="member-detail" th:text="${player.description}"></p>
									</div>
								</div>
							</div>
							<div class="memberadv">
								<a th:href="${footerAdvert.advertUrl}" target="_black" th:each="footerAdvert:${footerAdvertPage1.result}">
						            <img th:src="${footerAdvert.advertImg}" />
						        </a>
							</div>
						</div>
					</div>
				</div>
				<div class="tc-right">
					<table class="tablenav">
						<caption>校内排名</caption>
						<thead>
							<tr>
								<td>排名</td>
								<td>球队</td>
								<td>胜负数</td>
							</tr>
						</thead>
						<tbody>
							<tr th:each="data:${schoolRankViews}">
								<td th:text="${data.id}"></td>
								<td th:text="${data.teamName}"></td>
								<td th:text="${data.matchWon+'W-'+data.matchLost+'L'}"></td>
							</tr>
							
						</tbody>
					</table>
					<div class="hightitle">
					</div>
					<div class="tc-rightadv">
						<a th:href="${footerAdvert.advertUrl}" target="_black" th:each="footerAdvert:${footerAdvertPage.result}">
						  <img th:src="${footerAdvert.advertImg}" />
						</a>	
					</div>
				</div>
			</div>
			
			
			<div class="mainbottomblank">
			</div>
		</div><!--q球队成绩页内容-->
		<div class="footer  unblanfoot" id="footer" th:utext="${session.indexFooter}">
			
		</div><!--页面底部-->	
	</div>
</body>
	<script type="text/javascript" src="../../../admin/site/common/js/header.js"></script>
	<script type="text/javascript">
	$(function(){
		$("#competitionSeasonId").html($("#competitionSeason_li_"+$("#seasonId").val()).text());
		
			$('.selul li').hover(function(){$(this).addClass('hovon')},function(){$(this).removeClass('hovon')});
			$('.selul li').on('click',function(){$(this).parent().slideToggle('fast').parent().find('.sel').text($(this).text())});
			$('.sel').on('click',function(){$(this).next().slideToggle('fast')});
			
			$("#nav-team").attr("class","nav-clickon");
			
			$(".queryTeamId").click(function(e){
				var teamId=e.currentTarget.id;
				var schoolId=$(this).val();
				window.location.href = "/teamDate/queryTeamRoster.html?schoolId="+schoolId+decodeURIComponent("%26")+"teamId="+teamId;
				
			});
			
			$(".teamRoster").click(function(){
				 var id= $("#team_Id").val();
				 var schoolId=$("#school-id").val();
				 window.location.href = "/teamDate/queryTeamRoster.html?teamId="+id+decodeURIComponent("%26")+"schoolId="+schoolId;
			 });
			 
			 $(".teamScore").click(function(){
				 var id= $("#team_Id").val();
				 var schoolId=$("#school-id").val();
				 window.location.href = "/teamDate/queryTeamScore.html?teamId="+id+decodeURIComponent("%26")+"schoolId="+schoolId;
			 });
	});
	</script>
</html>
